package com.mzj.saas.mservice.enterprise.entity;

import com.mzj.saas.commons.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 企业数据-成员使用统计
 */
@Entity
@Table(name = "saas_enterprise_user_statistics")
public class UserStatistics extends IdEntity {
    /*
     *组织id
     */
    @Column(name = "org_id", nullable = true)
    private Long orgId;
    /*
     *企业总人数
     */
    @Column(name = "total_number", nullable = true)
    private Integer totalNumber;
    /*
     *激活统计
     */
    @Column(name = "activate_number", nullable = true)
    private Integer activateNumber;
    /*
     *禁用统计
     */
    @Column(name = "disable_number", nullable = true)
    private Integer disableNumber;
    /*
     *员工离职人数
     */
    @Column(name = "dimission_number", nullable = true)
    private Integer dimissionNumber;
    /*
     *统计时间
     */
    @Column(name = "stat_time", nullable = true)
    private Date statTime;

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Integer getTotalNumber() {
        return totalNumber;
    }

    public void setTotalNumber(Integer totalNumber) {
        this.totalNumber = totalNumber;
    }

    public Integer getActivateNumber() {
        return activateNumber;
    }

    public void setActivateNumber(Integer activateNumber) {
        this.activateNumber = activateNumber;
    }

    public Integer getDisableNumber() {
        return disableNumber;
    }

    public void setDisableNumber(Integer disableNumber) {
        this.disableNumber = disableNumber;
    }

    public Integer getDimissionNumber() {
        return dimissionNumber;
    }

    public void setDimissionNumber(Integer dimissionNumber) {
        this.dimissionNumber = dimissionNumber;
    }

    public Date getStatTime() {
        return statTime;
    }

    public void setStatTime(Date statTime) {
        this.statTime = statTime;
    }


    @Override
    public String toString() {
        return "UserStatistics{" +
                "orgId=" + orgId +
                ", totalNumber=" + totalNumber +
                ", activateNumber=" + activateNumber +
                ", disableNumber=" + disableNumber +
                ", dimissionNumber=" + dimissionNumber +
                ", statTime=" + statTime +
                ", id=" + id +
                '}';
    }
}
